<nav class="navbar navbar-default navbar-fixed-top">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                    data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="">StartWE</a>
        </div>

        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav navbar-right">
                <li>
                    <div class="navbar-form rs-search-box">
                        <div class="input-group">
                            <input type="text" class="form-control" placeholder="搜索 startwe...">
                            <span class="input-group-btn">
                                    <button class="btn btn-default" type="button">
                                        <i class="glyphicon glyphicon-search"></i>
                                    </button>
                                </span>
                        </div>
                    </div>
                </li>
                <li class="nav-new-article">
                    <a href="#">
                        <i class="iconfont icon-xiezi"></i> 写文章
                    </a>
                </li>
                <li>
                    <span class="ver-line">|</span>
                </li>
                <li class="user-auth">
                    <a href="#" class="btn-log" data-toggle="modal" data-target=".pg-log-box">登录</a>
                    <span>·</span>
                    <a href="#" class="btn-reg">注册</a>
                </li>
            </ul>
        </div>
    </div>
</nav>




